import request from "@/utils/request";

const api_name = "/fjut/vod/course";

export default {

  // 课程分页列表
  getCourseListByType(subjectParentId, pageNo, pageSize) {
    return request({
      url: `${api_name}/getCourseListByType/${subjectParentId}/${pageNo}/${pageSize}`,
      method: "get"
    });
  },

  // 课程详情
  getCourseInfoById(courseId) {
    return request({
      url: `${api_name}/getCourseInfoById/${courseId}`,
      method: "get"
    });
  }
};
